package com.sdry.mapper;

import com.sdry.entity.PartComponent;
import com.sdry.entity.PartComponentExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface PartComponentMapper {
    int countByExample(PartComponentExample example);

    int deleteByExample(PartComponentExample example);

    int deleteByPrimaryKey(Long componentId);

    int insert(PartComponent record);

    int insertSelective(PartComponent record);

    List<PartComponent> selectByExample(PartComponentExample example);

    PartComponent selectByPrimaryKey(Long componentId);

    int updateByExampleSelective(@Param("record") PartComponent record, @Param("example") PartComponentExample example);

    int updateByExample(@Param("record") PartComponent record, @Param("example") PartComponentExample example);

    int updateByPrimaryKeySelective(PartComponent record);

    int updateByPrimaryKey(PartComponent record);

	List<PartComponent> selectlist(Map<String, Object> map);
}